import { Image } from 'antd';

interface Props {
  error: string | undefined | null;
}
const Error: React.FC<Props> = ({ error }) => {
  return (
    <div>
      Error: {error}
      <div>
        <Image width={200} src='https://api.qingnian8.com/images/accessKeyCode.jpg' />
      </div>
    </div>
  );
};

export default Error;
